CREATE TABLE [dbo].[TTIMPT]
(
[CO_IMPT] [dbo].[TD_VC_003] NOT NULL,
[DE_IMPT] [dbo].[TD_VC_050] NOT NULL,
[PC_IMPT] [dbo].[TD_NU_009_004] NOT NULL CONSTRAINT [DF__TTIMPT__PC_IMPT__54968AE5] DEFAULT ((0)),
[ST_ABON] [dbo].[TD_VC_001_SINO] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTIMPT__CO_USUA___567ED357] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTIMPT__FE_USUA___5772F790] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTIMPT__CO_USUA___58671BC9] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTIMPT__FE_USUA___595B4002] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTIMPT] WITH NOCHECK ADD CONSTRAINT [CK__TTIMPT__ST_ABON__558AAF1E] CHECK NOT FOR REPLICATION (([ST_ABON]='N' OR [ST_ABON]='S'))
GO
ALTER TABLE [dbo].[TTIMPT] ADD CONSTRAINT [PK__TTIMPT__58C6F09B618671AF] PRIMARY KEY CLUSTERED  ([CO_IMPT]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTIMPT] TO [public]
GRANT INSERT ON  [dbo].[TTIMPT] TO [public]
GRANT DELETE ON  [dbo].[TTIMPT] TO [public]
GRANT UPDATE ON  [dbo].[TTIMPT] TO [public]
GO
